﻿using ElectronicGovernment.Domain.Entities;
using ElectronicGovernment.Domain.Repositories;

namespace ElectronicGovernment.Application.Services
{
    public class GovernmentService : IGovernmentService
    {
        private IGovernmentRepository _governmentRepository;

        public GovernmentService(IGovernmentRepository governmentRepository)
        {
            _governmentRepository = governmentRepository;
        }

        public void CreateGovernment(Government government)
        {
            _governmentRepository.Create(government);
        }
    }
}